package com.baolai.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.baomidou.mybatisplus.extension.activerecord.Model;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;


@Data
@ApiModel("备件的用途设备")
@TableName("goods_device")
public class GoodsDevice extends Model<GoodsDevice> {

    private static final long serialVersionUID = 1L;

    @ApiModelProperty("备件编码")
    @TableId(type = IdType.INPUT)
    private String goodsId;

    @ApiModelProperty("设备编码")
    private String deviceId;

    @ApiModelProperty("设备名称")
    private String deviceName;
}
